package org.jacklin.common.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 订单参数DTO
 *
 * @author: jacklin
 * @since: 2022/3/26 14:39
 */
@Data
public class OrderDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单ID")
    private String id;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "账户ID")
    private String accountId;

    @ApiModelProperty(value = "商品ID")
    private String productId;

    @ApiModelProperty(value = "商品编号")
    private String productCode;

    @ApiModelProperty(value = "商品数量")
    private Integer productCount;

    @ApiModelProperty(value = "优惠券券码")
    private String couponCode;

    @ApiModelProperty(value = "订单金额")
    private BigDecimal orderAmount;
}
